import { defineStore } from 'pinia'
import { ref } from 'vue'
export const useLoadingStore = defineStore('counter', () => {
  const loading = ref(false)
  function setLoading(data) {
    loading.value = data
  }

  return { loading, setLoading }
})
